package com.jd.orm.framework.core.transaction;

/**
 * 
 * ClassName: Propagation <br/>
 * Function: TODO ADD FUNCTION. <br/>
 * Reason: TODO ADD REASON. <br/>
 * date: 2014-5-13 上午9:07:01 <br/>
 * 
 * @author liubing1@jd.com
 * @version
 * @since up JDK 1.5
 */
public enum Propagation {
	
	PROPAGATION_REQUIRED(1),

	
	PROPAGATION_SUPPORTS(2),

	
	PROPAGATION_MANDATORY(3),

	
	PROPAGATION_REQUIRES_NEW(4),

	
	PROPAGATION_NOT_SUPPORTED(5),

	
	PROPAGATION_NEVER(6);

	private int value;

	Propagation(int value) {
		this.value = value;
	}

	public int value() {
		return value;
	}
}
